from django.urls import path
from .views import ProjectCaseListView, ProjectCaseDetailView, ProjectCaseCollectView, ProjectCaseDictView

urlpatterns = [
    path('', ProjectCaseListView.as_view()),  # 案例列表
    path('dict/', ProjectCaseDictView.as_view()),  # 案例列表
    path('<int:pk>/', ProjectCaseDetailView.as_view()),  # 案例详情
    path('<int:pk>/collect/', ProjectCaseCollectView.as_view()),  # 收藏案例
]
